package cn.jjxx.modules.pb.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.jjxx.core.common.service.ICommonService;
import cn.jjxx.modules.pb.entity.PbPoliticalLife;

/**   
 * @Title: 三会一课开展情况
 * @Description: 三会一课开展情况
 * @author yw
 * @date 2022-01-10 16:54:39
 * @version V1.0   
 *
 */
public interface IPbPoliticalLifeService extends ICommonService<PbPoliticalLife> {

	/**
	 * 获取各类型会议数
	 * @param month
	 * @return
	 */
	List<Map<String,Object>> selectTypeNum(@Param("month") String month );
	/**
	 * 获取支部会议总数
	 * @param month
	 * @return
	 */
	List<Map<String,Object>> selectOrgNum(@Param("month") String month );
	
	/**
	 * 获取支部会议条类会议数量
	 * @param month
	 * @return
	 */
	List<Map<String,Object>>selectOrgTypeNum(@Param("month") String month );
	
	/**
	 * @Description: 批量插入数据 .<br>
	 * @author yw .<br>
	 * @date 2022-01-10 16:54:39.<br>
	 */
	boolean insertBatch(List<PbPoliticalLife> list);

	/**
	 * @Description: 批量更新单据 .<br>
	 * @author yw .<br>
	 * @date 2022-01-10 16:54:39.<br>
	 */
	boolean updateBatch(List<PbPoliticalLife> list);
}

